﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Remindme.Repository.Interfaces
{
    public interface IRepository<T, K>
    {
        Task<T> CreateAsync(T obj);
        Task UpdateAsync(T obj);
        Task DeleteAsync(K objKey);
        Task<T> FindAsync(K objKey);
        Task<List<T>> FindAllAsync();
    }
}
